<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Java API Reference for Android: com.juphoon.cloud.JCCall Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Java API Reference for Android
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>com</b></li><li class="navelem"><b>juphoon</b></li><li class="navelem"><b>cloud</b></li><li class="navelem"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html">JCCall</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">com.juphoon.cloud.JCCall Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group___xE4_xB8_x80_xE5_xAF_xB9_xE4_xB8_x80_xE9_x80_x9A_xE8_xAF_x9D_xE6_xA8_xA1_xE5_x9D_x97.html">一对一通话模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Inherited by com.juphoon.cloud.JCCallImpl.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_call_param.html">CallParam</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_media_config.html">MediaConfig</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a59d130b9ceee810c6b805db53a78c9c4"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a59d130b9ceee810c6b805db53a78c9c4">call</a> (String userId, boolean video, @Nullable <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_call_param.html">CallParam</a> callParam)</td></tr>
<tr class="separator:a59d130b9ceee810c6b805db53a78c9c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2344dec3c7546baf03cd32df50e9a74"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#aa2344dec3c7546baf03cd32df50e9a74">term</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> item, @CallReason int reason, String description)</td></tr>
<tr class="separator:aa2344dec3c7546baf03cd32df50e9a74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9dca9006e45ac4109c59fa3967c3a06"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ad9dca9006e45ac4109c59fa3967c3a06">answer</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> item, boolean video)</td></tr>
<tr class="separator:ad9dca9006e45ac4109c59fa3967c3a06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cfb5674a2012aad7bfe51a10adaa45e"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a9cfb5674a2012aad7bfe51a10adaa45e">mute</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> item)</td></tr>
<tr class="separator:a9cfb5674a2012aad7bfe51a10adaa45e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa0a30ccc4a44efa60c6b3df1f6f5d6f"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#aaa0a30ccc4a44efa60c6b3df1f6f5d6f">hold</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> item)</td></tr>
<tr class="separator:aaa0a30ccc4a44efa60c6b3df1f6f5d6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a294f97208c03c03b4c874814d6dc871c"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a294f97208c03c03b4c874814d6dc871c">audioRecord</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> item, boolean enable, String filePath)</td></tr>
<tr class="separator:a294f97208c03c03b4c874814d6dc871c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fc85c75eae30fd8bea7f988b29057c0"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a9fc85c75eae30fd8bea7f988b29057c0">videoRecord</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> item, boolean enable, boolean remote, int width, int height, String filePath, boolean bothAudio)</td></tr>
<tr class="separator:a9fc85c75eae30fd8bea7f988b29057c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ed0b6599df2ef8f6b8f9d1f0d6e7d16"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a3ed0b6599df2ef8f6b8f9d1f0d6e7d16">becomeActive</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> item)</td></tr>
<tr class="separator:a3ed0b6599df2ef8f6b8f9d1f0d6e7d16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ba40ec3d7405b52c0a3f4efa211955a"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a9ba40ec3d7405b52c0a3f4efa211955a">enableUploadVideoStream</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> item)</td></tr>
<tr class="separator:a9ba40ec3d7405b52c0a3f4efa211955a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1538ccb7589d23797ab747d735b5b049"><td class="memItemLeft" align="right" valign="top">abstract List&lt; <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a1538ccb7589d23797ab747d735b5b049">getCallItems</a> ()</td></tr>
<tr class="separator:a1538ccb7589d23797ab747d735b5b049"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25d16f56b68f8dabc722fae64a27f78f"><td class="memItemLeft" align="right" valign="top">abstract <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a25d16f56b68f8dabc722fae64a27f78f">getActiveCallItem</a> ()</td></tr>
<tr class="separator:a25d16f56b68f8dabc722fae64a27f78f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac03e15ed27a4e81864fec517828d17d2"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ac03e15ed27a4e81864fec517828d17d2">sendMessage</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> item, String type, String content)</td></tr>
<tr class="separator:ac03e15ed27a4e81864fec517828d17d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a908ee5e65cf4aac3248684893ffbc004"><td class="memItemLeft" align="right" valign="top">abstract String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a908ee5e65cf4aac3248684893ffbc004">getStatistics</a> ()</td></tr>
<tr class="separator:a908ee5e65cf4aac3248684893ffbc004"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b818d9210a07b6e65ac9fd2b287b6ea"><td class="memItemLeft" align="right" valign="top">abstract void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a1b818d9210a07b6e65ac9fd2b287b6ea">updateMediaConfig</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_media_config.html">MediaConfig</a> mediaConfig)</td></tr>
<tr class="separator:a1b818d9210a07b6e65ac9fd2b287b6ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fee892082a244cfea907537fb31ad38"><td class="memItemLeft" align="right" valign="top">abstract <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_media_config.html">MediaConfig</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a7fee892082a244cfea907537fb31ad38">getMediaConfig</a> ()</td></tr>
<tr class="separator:a7fee892082a244cfea907537fb31ad38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2616d70a6d3a8469bafc24b37960e4a5"><td class="memItemLeft" align="right" valign="top">abstract boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a2616d70a6d3a8469bafc24b37960e4a5">sendDtmf</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> item, @DtmfValue int value)</td></tr>
<tr class="separator:a2616d70a6d3a8469bafc24b37960e4a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ada1487c4d60e230342e5ec6d8fed9336"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html">JCCall</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ada1487c4d60e230342e5ec6d8fed9336">create</a> (@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_client.html">JCClient</a> client, @NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a> mediaDevice, @NonNull <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html">JCCallCallback</a> callback)</td></tr>
<tr class="separator:ada1487c4d60e230342e5ec6d8fed9336"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0138f52e1b9269ba6e0d632413de8f3c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a0138f52e1b9269ba6e0d632413de8f3c">destroy</a> ()</td></tr>
<tr class="separator:a0138f52e1b9269ba6e0d632413de8f3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ae9fb3eb83d4e6bd7ff563abeedf3636a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ae9fb3eb83d4e6bd7ff563abeedf3636a">maxCallNum</a> = 1</td></tr>
<tr class="separator:ae9fb3eb83d4e6bd7ff563abeedf3636a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7557d96eb5925c3872ea7b3c9ea9824c"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a7557d96eb5925c3872ea7b3c9ea9824c">termWhenNetDisconnected</a> = false</td></tr>
<tr class="separator:a7557d96eb5925c3872ea7b3c9ea9824c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:ae93b953784672337142b277ee5cd5bc6"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ae93b953784672337142b277ee5cd5bc6">DIRECTION_IN</a> = 0</td></tr>
<tr class="separator:ae93b953784672337142b277ee5cd5bc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabb39a8d5bcf7328b1534735f10aaea7"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#aabb39a8d5bcf7328b1534735f10aaea7">DIRECTION_OUT</a> = 1</td></tr>
<tr class="separator:aabb39a8d5bcf7328b1534735f10aaea7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4258229e99ebe91531667d98e294ddbc"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#ga4258229e99ebe91531667d98e294ddbc">REASON_NONE</a> = 0</td></tr>
<tr class="separator:ga4258229e99ebe91531667d98e294ddbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeae2124213bff815f72594c09c48800d"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#gaeae2124213bff815f72594c09c48800d">REASON_NOT_LOGIN</a> = 1</td></tr>
<tr class="separator:gaeae2124213bff815f72594c09c48800d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0079ceb8dcfde861405af1c8475391e8"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#ga0079ceb8dcfde861405af1c8475391e8">REASON_CALL_FUNCTION_ERROR</a> = 2</td></tr>
<tr class="separator:ga0079ceb8dcfde861405af1c8475391e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1632ce4bf33d9689108625ccd404c2ea"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#ga1632ce4bf33d9689108625ccd404c2ea">REASON_TIMEOUT</a> = 3</td></tr>
<tr class="separator:ga1632ce4bf33d9689108625ccd404c2ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa5a32432a2ab7b8342366785f60f34df"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#gaa5a32432a2ab7b8342366785f60f34df">REASON_NETWORK</a> = 4</td></tr>
<tr class="separator:gaa5a32432a2ab7b8342366785f60f34df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4e3e59684dfe2a469316db48b140e357"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#ga4e3e59684dfe2a469316db48b140e357">REASON_OVER_LIMIT</a> = 5</td></tr>
<tr class="separator:ga4e3e59684dfe2a469316db48b140e357"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga34488d731e1ea7508c7a42d675d7842e"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#ga34488d731e1ea7508c7a42d675d7842e">REASON_TERM_BY_SELF</a> = 6</td></tr>
<tr class="separator:ga34488d731e1ea7508c7a42d675d7842e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf3b2d31012cc2da4a6a5cbc5936d60a7"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#gaf3b2d31012cc2da4a6a5cbc5936d60a7">REASON_ANSWER_FAIL</a> = 7</td></tr>
<tr class="separator:gaf3b2d31012cc2da4a6a5cbc5936d60a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74fe0fb3d61ef9d2a22b5adb36a3b586"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#ga74fe0fb3d61ef9d2a22b5adb36a3b586">REASON_BUSY</a> = 8</td></tr>
<tr class="separator:ga74fe0fb3d61ef9d2a22b5adb36a3b586"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga730998c2049322bbe872a3ffd50c75de"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#ga730998c2049322bbe872a3ffd50c75de">REASON_DECLINE</a> = 9</td></tr>
<tr class="separator:ga730998c2049322bbe872a3ffd50c75de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97bc210a798eda53c56e8b1db132ca5b"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#ga97bc210a798eda53c56e8b1db132ca5b">REASON_USER_OFFLINE</a> = 10</td></tr>
<tr class="separator:ga97bc210a798eda53c56e8b1db132ca5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae174af794a083cff823769617f4655df"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#gae174af794a083cff823769617f4655df">REASON_NOT_FOUND</a> = 11</td></tr>
<tr class="separator:gae174af794a083cff823769617f4655df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4124da1cd7389c4e04d8c321a238abb5"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#ga4124da1cd7389c4e04d8c321a238abb5">REASON_REJECT_VIDEO_WHEN_HAS_CALL</a> = 12</td></tr>
<tr class="separator:ga4124da1cd7389c4e04d8c321a238abb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae88b4f25bfda4bd533d91ee34c5b08bb"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#gae88b4f25bfda4bd533d91ee34c5b08bb">REASON_REJECT_WHEN_HAS_VIDEO_CALL</a> = 13</td></tr>
<tr class="separator:gae88b4f25bfda4bd533d91ee34c5b08bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga38f0d606e65ee728d1cc9d6f5fa9c260"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__error.html#ga38f0d606e65ee728d1cc9d6f5fa9c260">REASON_OTHER</a> = 100</td></tr>
<tr class="separator:ga38f0d606e65ee728d1cc9d6f5fa9c260"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34ab63b196ec9ab79eefc29aadf74fa7"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a34ab63b196ec9ab79eefc29aadf74fa7">STATE_INIT</a> = 0</td></tr>
<tr class="separator:a34ab63b196ec9ab79eefc29aadf74fa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92336f1b8d051502d354ac57fd2cfd1f"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a92336f1b8d051502d354ac57fd2cfd1f">STATE_PENDING</a> = 1</td></tr>
<tr class="separator:a92336f1b8d051502d354ac57fd2cfd1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4d606957af6d4b580de6ff97cb0b636"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ac4d606957af6d4b580de6ff97cb0b636">STATE_CONNECTING</a> = 2</td></tr>
<tr class="separator:ac4d606957af6d4b580de6ff97cb0b636"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a399155504c9ac42d79f9b2709e856b3e"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a399155504c9ac42d79f9b2709e856b3e">STATE_TALKING</a> = 3</td></tr>
<tr class="separator:a399155504c9ac42d79f9b2709e856b3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3f59ff4dabbcfb137c156f941bfa6af"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#af3f59ff4dabbcfb137c156f941bfa6af">STATE_OK</a> = 4</td></tr>
<tr class="separator:af3f59ff4dabbcfb137c156f941bfa6af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d49bcbe42ccf79e50ca9e40d7709611"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a0d49bcbe42ccf79e50ca9e40d7709611">STATE_CANCEL</a> = 5</td></tr>
<tr class="separator:a0d49bcbe42ccf79e50ca9e40d7709611"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06afe398f13a57ac4a1ba2276a22f392"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a06afe398f13a57ac4a1ba2276a22f392">STATE_CANCELED</a> = 6</td></tr>
<tr class="separator:a06afe398f13a57ac4a1ba2276a22f392"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf80c810ab00a30f08e1f92461c7c3cd"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#acf80c810ab00a30f08e1f92461c7c3cd">STATE_MISSED</a> = 7</td></tr>
<tr class="separator:acf80c810ab00a30f08e1f92461c7c3cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d3e7f300b621e9b5e0e6e8f5e135698"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a2d3e7f300b621e9b5e0e6e8f5e135698">STATE_ERROR</a> = 8</td></tr>
<tr class="separator:a2d3e7f300b621e9b5e0e6e8f5e135698"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09f6b06cd506a6da2f9513c2b32b4047"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a09f6b06cd506a6da2f9513c2b32b4047">NET_STATUS_NA</a> = -100</td></tr>
<tr class="separator:a09f6b06cd506a6da2f9513c2b32b4047"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6028a03fef38fb9e96695615186f48d7"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a6028a03fef38fb9e96695615186f48d7">NET_STATUS_DISCONNECTED</a> = -3</td></tr>
<tr class="separator:a6028a03fef38fb9e96695615186f48d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75e00a95c312db94b4d4c3777d5c0b1e"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a75e00a95c312db94b4d4c3777d5c0b1e">NET_STATUS_VERY_BAD</a> = -2</td></tr>
<tr class="separator:a75e00a95c312db94b4d4c3777d5c0b1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a610fb9c20786aa5d189df5570737479a"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a610fb9c20786aa5d189df5570737479a">NET_STATUS_BAD</a> = -1</td></tr>
<tr class="separator:a610fb9c20786aa5d189df5570737479a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a124d9c2b96afec440ccd05210e828d9c"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a124d9c2b96afec440ccd05210e828d9c">NET_STATUS_NORMAL</a> = 0</td></tr>
<tr class="separator:a124d9c2b96afec440ccd05210e828d9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8f836dd2f981630cc01f2e773391c54"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ad8f836dd2f981630cc01f2e773391c54">NET_STATUS_GOOD</a> = 1</td></tr>
<tr class="separator:ad8f836dd2f981630cc01f2e773391c54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bdb81c94ea3970326695a7d353d4c3a"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a3bdb81c94ea3970326695a7d353d4c3a">NET_STATUS_VERY_GOOD</a> = 2</td></tr>
<tr class="separator:a3bdb81c94ea3970326695a7d353d4c3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a3fe9aaf4921d295dc4116e9ae46e93"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a3a3fe9aaf4921d295dc4116e9ae46e93">DTMF_0</a> = MtcCallConstants.EN_MTC_CALL_DTMF_0</td></tr>
<tr class="separator:a3a3fe9aaf4921d295dc4116e9ae46e93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a177b114d3b2de438d73777fbba26401c"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a177b114d3b2de438d73777fbba26401c">DTMF_1</a> = MtcCallConstants.EN_MTC_CALL_DTMF_1</td></tr>
<tr class="separator:a177b114d3b2de438d73777fbba26401c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd68dccc5a1780e7959d2042e48b08d8"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#acd68dccc5a1780e7959d2042e48b08d8">DTMF_2</a> = MtcCallConstants.EN_MTC_CALL_DTMF_2</td></tr>
<tr class="separator:acd68dccc5a1780e7959d2042e48b08d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac44d4f5d5446d1d9a3199cb6a2373d24"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ac44d4f5d5446d1d9a3199cb6a2373d24">DTMF_3</a> = MtcCallConstants.EN_MTC_CALL_DTMF_3</td></tr>
<tr class="separator:ac44d4f5d5446d1d9a3199cb6a2373d24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acff4cc6ac5a9195d8cfa714533d09f9c"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#acff4cc6ac5a9195d8cfa714533d09f9c">DTMF_4</a> = MtcCallConstants.EN_MTC_CALL_DTMF_4</td></tr>
<tr class="separator:acff4cc6ac5a9195d8cfa714533d09f9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac20a98c75371baee68753b036ec02f22"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ac20a98c75371baee68753b036ec02f22">DTMF_5</a> = MtcCallConstants.EN_MTC_CALL_DTMF_5</td></tr>
<tr class="separator:ac20a98c75371baee68753b036ec02f22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1d100a56cb74d21f432a1e930499fff"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ae1d100a56cb74d21f432a1e930499fff">DTMF_6</a> = MtcCallConstants.EN_MTC_CALL_DTMF_6</td></tr>
<tr class="separator:ae1d100a56cb74d21f432a1e930499fff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b10274f2bc605ea41faced49f5fce86"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a9b10274f2bc605ea41faced49f5fce86">DTMF_7</a> = MtcCallConstants.EN_MTC_CALL_DTMF_7</td></tr>
<tr class="separator:a9b10274f2bc605ea41faced49f5fce86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a894aa7896531673196686980c3bb7ad9"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a894aa7896531673196686980c3bb7ad9">DTMF_8</a> = MtcCallConstants.EN_MTC_CALL_DTMF_8</td></tr>
<tr class="separator:a894aa7896531673196686980c3bb7ad9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae92f47e77b560cbe84150617e1aedba9"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ae92f47e77b560cbe84150617e1aedba9">DTMF_9</a> = MtcCallConstants.EN_MTC_CALL_DTMF_9</td></tr>
<tr class="separator:ae92f47e77b560cbe84150617e1aedba9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a122d3e94398c99bfee39152eb019fc71"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a122d3e94398c99bfee39152eb019fc71">DTMF_STAR</a> = MtcCallConstants.EN_MTC_CALL_DTMF_STAR</td></tr>
<tr class="separator:a122d3e94398c99bfee39152eb019fc71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cc595feefbf3a3294d770968691212d"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a1cc595feefbf3a3294d770968691212d">DTMF_POUND</a> = MtcCallConstants.EN_MTC_CALL_DTMF_POUND</td></tr>
<tr class="separator:a1cc595feefbf3a3294d770968691212d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4593205859416b0fbf5724a6ff6877c4"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a4593205859416b0fbf5724a6ff6877c4">DTMF_A</a> = MtcCallConstants.EN_MTC_CALL_DTMF_A</td></tr>
<tr class="separator:a4593205859416b0fbf5724a6ff6877c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2e2b53cce94ba92885fa1c7c63049db"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#aa2e2b53cce94ba92885fa1c7c63049db">DTMF_B</a> = MtcCallConstants.EN_MTC_CALL_DTMF_B</td></tr>
<tr class="separator:aa2e2b53cce94ba92885fa1c7c63049db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d017a3a81a0859e2d50d7bfe32ac822"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a3d017a3a81a0859e2d50d7bfe32ac822">DTMF_C</a> = MtcCallConstants.EN_MTC_CALL_DTMF_C</td></tr>
<tr class="separator:a3d017a3a81a0859e2d50d7bfe32ac822"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e73db3da4ecddbb373d9090ba88facc"><td class="memItemLeft" align="right" valign="top">static final int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a4e73db3da4ecddbb373d9090ba88facc">DTMF_D</a> = MtcCallConstants.EN_MTC_CALL_DTMF_D</td></tr>
<tr class="separator:a4e73db3da4ecddbb373d9090ba88facc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>用于管理一对一通话 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ada1487c4d60e230342e5ec6d8fed9336"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada1487c4d60e230342e5ec6d8fed9336">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html">JCCall</a> com.juphoon.cloud.JCCall.create </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_client.html">JCClient</a>&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a>&#160;</td>
          <td class="paramname"><em>mediaDevice</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@NonNull <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html">JCCallCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html">JCCall</a> 对象</p>
<p><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html">JCCall</a> 的所有接口函数，如无特殊说明，都建议在主线程调用</p>
<dl class="section note"><dt>Note</dt><dd><ul>
<li>调用此方法创建 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html">JCCall</a> 对象后，期间没有调用过 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a0138f52e1b9269ba6e0d632413de8f3c">destroy</a> 方法销毁对象，然后又重复调用此方法，会直接返回第一次创建的 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html">JCCall</a> 对象</li>
<li>调用此方法前确保 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_client.html">JCClient</a> 已完成初始化，即 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_client.html#a9662a6f13921508ebefa58b0d684f6cd">getState</a> 方法获取的状态值不等于 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_client.html#a9265e400dcb439ba508abd30174c380d">STATE_NOT_INIT</a></li>
</ul>
</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_client.html">JCClient</a> 对象 </td></tr>
    <tr><td class="paramname">mediaDevice</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html">JCMediaDevice</a> 对象，通过 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_device.html#aedb95a1069976d111da0c715535287eb">JCMediaDevice.create</a> 方法创建 </td></tr>
    <tr><td class="paramname">callback</td><td><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html">JCCallCallback</a> 对象，用于回调相关通知 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html">JCCall</a> 对象 </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">JCClient、JCMediaDevice、JCCallCallback 任意参数传空就会抛出异常</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a0138f52e1b9269ba6e0d632413de8f3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0138f52e1b9269ba6e0d632413de8f3c">&#9670;&nbsp;</a></span>destroy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void com.juphoon.cloud.JCCall.destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>销毁 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html">JCCall</a> 对象</p>
<dl class="section note"><dt>Note</dt><dd>此方法为异步调用，所以在调用此方法后不能马上调用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ada1487c4d60e230342e5ec6d8fed9336">create</a> 方法去重新创建 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html">JCCall</a> 对象 </dd></dl>

</div>
</div>
<a id="a59d130b9ceee810c6b805db53a78c9c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59d130b9ceee810c6b805db53a78c9c4">&#9670;&nbsp;</a></span>call()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCCall.call </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>userId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>video</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@Nullable <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_call_param.html">CallParam</a>&#160;</td>
          <td class="paramname"><em>callParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>发起一对一呼叫</p>
<p>若发起的是音频呼叫，需要保证本地不存视频通话，并且本地通话数未达到最大通话数，最大通话数为：<a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ae9fb3eb83d4e6bd7ff563abeedf3636a">maxCallNum</a> 。<br  />
 若发起的是视频呼叫，需要保证本地不存在通话。<br  />
 发起呼叫成功后，会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#af5561939aa3961e2a425151ba398f600">onCallItemAdd</a> 通知</p>
<p>以下两种情况会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#a323ce4ac238fca2822d7f4bab9f8747e">onCallItemRemove</a> 通知：</p><ul>
<li>本端发起视频呼叫时，对方已存在通话</li>
<li>本端发起音频呼叫时，对方已存在视频通话</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>在调用此接口时确保用户的登录状态为已登录</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">userId</td><td>对方的用户标识，不能为空 </td></tr>
    <tr><td class="paramname">video</td><td>是否视频呼叫<ul>
<li>true: 视频呼叫</li>
<li>false: 音频呼叫 </li>
</ul>
</td></tr>
    <tr><td class="paramname">callParam</td><td>通话参数对象，此参数可为空，详细定义见： <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_call_param.html">CallParam</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>是否正常调用<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="aa2344dec3c7546baf03cd32df50e9a74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2344dec3c7546baf03cd32df50e9a74">&#9670;&nbsp;</a></span>term()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCCall.term </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a>&#160;</td>
          <td class="paramname"><em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@CallReason int&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>description</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>挂断</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象，不能为空，并且本地缓存的通话列表中要包含此对象 </td></tr>
    <tr><td class="paramname">reason</td><td>挂断原因，参见：<a class="el" href="group__error.html#ga4258229e99ebe91531667d98e294ddbc">挂断原因</a> </td></tr>
    <tr><td class="paramname">description</td><td>挂断描述 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>是否正常调用<ul>
<li>true：正常执行调用流程，挂断结果通过 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#a323ce4ac238fca2822d7f4bab9f8747e">onCallItemRemove</a> 通知</li>
<li>false：调用失败，不会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#a323ce4ac238fca2822d7f4bab9f8747e">onCallItemRemove</a> 通知 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="ad9dca9006e45ac4109c59fa3967c3a06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9dca9006e45ac4109c59fa3967c3a06">&#9670;&nbsp;</a></span>answer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCCall.answer </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a>&#160;</td>
          <td class="paramname"><em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>video</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>接听</p>
<p>调用接口成功会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#a9e0fa5b37577616b1171eb07a151193d">onCallItemUpdate</a> 通知， 另外还有两种情况也会收到通知：1、若收到的是视频呼叫，而本端选择了音频接听 2、若此路通话不是活跃的，会将此路通话设为活跃通话。<br  />
 调用接口失败会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#a323ce4ac238fca2822d7f4bab9f8747e">onCallItemRemove</a> 通知</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象，不能为空，并且本地缓存的通话列表中要包含此对象 </td></tr>
    <tr><td class="paramname">video</td><td>针对视频呼入可以选择以视频接听还是音频接听<ul>
<li>true: 视频接听</li>
<li>false: 音频接听 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>是否正常调用<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a9cfb5674a2012aad7bfe51a10adaa45e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cfb5674a2012aad7bfe51a10adaa45e">&#9670;&nbsp;</a></span>mute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCCall.mute </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a>&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>开启/取消静音</p>
<p>开启后对端将听不到本端的声音。内部会根据 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#ad734eef5188b18ee9aa60c27b0af49c7">getMute</a> 来决定开启/取消静音</p><ul>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#ad734eef5188b18ee9aa60c27b0af49c7">getMute</a> 为 true，即静音状态时: 取消静音</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#ad734eef5188b18ee9aa60c27b0af49c7">getMute</a> 为 false，即不是静音状态时: 开启静音</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象，不能为空，并且本地缓存的通话列表中要包含此对象，此对象的通话状态必须为通话中 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>是否正常调用<ul>
<li>true：正常执行调用流程，会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#a9e0fa5b37577616b1171eb07a151193d">onCallItemUpdate</a> 通知</li>
<li>false：调用失败，不会收到通知 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="aaa0a30ccc4a44efa60c6b3df1f6f5d6f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa0a30ccc4a44efa60c6b3df1f6f5d6f">&#9670;&nbsp;</a></span>hold()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCCall.hold </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a>&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>开启/取消呼叫保持</p>
<p>开启呼叫保持后，通话将被挂起。内部会根据 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#a6cbb87f7392f056582dc2b605536db26">getHold</a> 来决定开启/取消呼叫保持</p><ul>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#a6cbb87f7392f056582dc2b605536db26">getHold</a> 为 true，即呼叫保持状态时: 取消呼叫保持</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#a6cbb87f7392f056582dc2b605536db26">getHold</a> 为 false，即不是呼叫保持状态时: 开启呼叫保持</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>只针对音频，如果是视频通话则要上层处理视频逻辑</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象，不能为空，并且本地缓存的通话列表中要包含此对象，此对象的通话状态必须为通话中 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>是否正常调用<ul>
<li>true：正常执行调用流程，会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#a9e0fa5b37577616b1171eb07a151193d">onCallItemUpdate</a> 通知</li>
<li>false：调用失败，不会收到通知 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a294f97208c03c03b4c874814d6dc871c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a294f97208c03c03b4c874814d6dc871c">&#9670;&nbsp;</a></span>audioRecord()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCCall.audioRecord </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a>&#160;</td>
          <td class="paramname"><em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>enable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>filePath</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>开启/关闭通话录音</p>
<p>开启通话录音，需要保证没有在录音也没有在录制视频<br  />
 关闭通话录音，需要保证当前通话正在录音</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象，不能为空，并且本地缓存的通话列表中要包含此对象 </td></tr>
    <tr><td class="paramname">enable</td><td>开启关闭录音<ul>
<li>true: 开启录音</li>
<li>false: 关闭录音 </li>
</ul>
</td></tr>
    <tr><td class="paramname">filePath</td><td><b>录音文件的本地保存路径，由用户自行指定，需精确到文件名，例如：/sdcard/emulated/0/audio.wav，请确保目录存在且可写。内部默认以 wav 格式录制</b> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>是否正常调用<ul>
<li>true：正常执行调用流程，会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#a9e0fa5b37577616b1171eb07a151193d">onCallItemUpdate</a> 通知</li>
<li>false：调用失败，不会收到通知 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a9fc85c75eae30fd8bea7f988b29057c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fc85c75eae30fd8bea7f988b29057c0">&#9670;&nbsp;</a></span>videoRecord()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCCall.videoRecord </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a>&#160;</td>
          <td class="paramname"><em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>enable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>remote</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>filePath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>bothAudio</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>开启/关闭视频通话录制</p>
<p>开启视频录制，需要保证 1、没有在录音 2、若是录制远端视频，要保证没有在录制远端视频，并且远端在上传视频流 3、若是录制本端视频，要保证没有在录制本端视频，并且本端在上传视频流。<br  />
 关闭视频录制，需要保证 1、若是关闭远端视频，要保证正在录制远端视频 2、若是关闭本端视频，要保证正在录制本端视频</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象，不能为空，并且本地缓存的通话列表中要包含此对象 </td></tr>
    <tr><td class="paramname">enable</td><td>是否开启视频通话录制<ul>
<li>true: 开启</li>
<li>false: 关闭 </li>
</ul>
</td></tr>
    <tr><td class="paramname">remote</td><td>是否录制远端视频源<ul>
<li>true: 录制远端视频</li>
<li>false: 录制本端视频 </li>
</ul>
</td></tr>
    <tr><td class="paramname">width</td><td>录制视频宽像素 </td></tr>
    <tr><td class="paramname">height</td><td>录制视频高像素 </td></tr>
    <tr><td class="paramname">filePath</td><td><b>录制视频文件的本地保存路径，由用户自行指定，需精确到文件名及格式，例如：/sdcard/emulated/0/video.mp4。请确保目录存在且可写。</b> </td></tr>
    <tr><td class="paramname">bothAudio</td><td>是否录制两端音频<ul>
<li>true: 录制两端音频</li>
<li>false: 录制视频端音频。也就是说 remote 为 true 就录制远端音频，remote 为 false 录制本端音频。 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>是否正常调用<ul>
<li>true：正常执行调用流程，会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#a9e0fa5b37577616b1171eb07a151193d">onCallItemUpdate</a> 通知</li>
<li>false：调用失败，不会收到通知 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a3ed0b6599df2ef8f6b8f9d1f0d6e7d16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ed0b6599df2ef8f6b8f9d1f0d6e7d16">&#9670;&nbsp;</a></span>becomeActive()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCCall.becomeActive </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a>&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>切换活跃通话</p>
<p>调用此方法时，入参 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象不是活跃的，则会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#a9e0fa5b37577616b1171eb07a151193d">onCallItemUpdate</a> 通知；若入参 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象已是活跃的，则不会收到通知</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td>需要变为活跃状态的 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>是否正常调用<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a9ba40ec3d7405b52c0a3f4efa211955a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ba40ec3d7405b52c0a3f4efa211955a">&#9670;&nbsp;</a></span>enableUploadVideoStream()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCCall.enableUploadVideoStream </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a>&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>开启/关闭视频流发送</p>
<p>通过 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#a9d7dd7a8492ad6070fe212148f6c5977">getUploadVideoStreamSelf</a> 来决定开启还是关闭视频流的发送</p><ul>
<li>若 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#a9d7dd7a8492ad6070fe212148f6c5977">getUploadVideoStreamSelf</a> 为 true，即已在上传视频流: 关闭视频流发送</li>
<li>若 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#a9d7dd7a8492ad6070fe212148f6c5977">getUploadVideoStreamSelf</a> 为 false，即未上传视频流: 开启视频流发送</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>用于视频通话中</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>是否正常调用<ul>
<li>true：正常执行调用流程，会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#a9e0fa5b37577616b1171eb07a151193d">onCallItemUpdate</a> 通知</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a1538ccb7589d23797ab747d735b5b049"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1538ccb7589d23797ab747d735b5b049">&#9670;&nbsp;</a></span>getCallItems()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract List&lt;<a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a>&gt; com.juphoon.cloud.JCCall.getCallItems </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获得通话对象列表</p>
<p>当 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#ae9fb3eb83d4e6bd7ff563abeedf3636a">maxCallNum</a> &gt; 1 时，可能存在多个音频通话对象</p>
<dl class="section return"><dt>Returns</dt><dd>通话对象列表 </dd></dl>

</div>
</div>
<a id="a25d16f56b68f8dabc722fae64a27f78f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25d16f56b68f8dabc722fae64a27f78f">&#9670;&nbsp;</a></span>getActiveCallItem()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> com.juphoon.cloud.JCCall.getActiveCallItem </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获得当前活跃的通话</p>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象：当前活跃的通话</li>
<li>null：当前没有活跃的通话 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="ac03e15ed27a4e81864fec517828d17d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac03e15ed27a4e81864fec517828d17d2">&#9670;&nbsp;</a></span>sendMessage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCCall.sendMessage </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a>&#160;</td>
          <td class="paramname"><em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>content</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>通过通话建立的通道发送数据</p>
<p>此接口调用成功后，消息接收方会收到 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_call_callback.html#a0474d1a84a7306e491f2cb20ec586d4d">onMessageReceive</a> 回调，通过此回调可以获取消息的文本类型和文本内容</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td>需要发送数据的 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象 </td></tr>
    <tr><td class="paramname">type</td><td>文本消息类型，用户可以自定义，例如text，xml等 </td></tr>
    <tr><td class="paramname">content</td><td>文本内容 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>是否正常调用<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a908ee5e65cf4aac3248684893ffbc004"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a908ee5e65cf4aac3248684893ffbc004">&#9670;&nbsp;</a></span>getStatistics()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract String com.juphoon.cloud.JCCall.getStatistics </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获得当前通话统计信息</p>
<p>统计信息以Json字符串形式返回，其中包含 "Audio"、"Video"、"Mtp" 三个键值</p>
<dl class="section return"><dt>Returns</dt><dd>当前通话统计信息 </dd></dl>

</div>
</div>
<a id="a1b818d9210a07b6e65ac9fd2b287b6ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b818d9210a07b6e65ac9fd2b287b6ea">&#9670;&nbsp;</a></span>updateMediaConfig()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract void com.juphoon.cloud.JCCall.updateMediaConfig </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_media_config.html">MediaConfig</a>&#160;</td>
          <td class="paramname"><em>mediaConfig</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>更新媒体参数</p>
<p>可以通过该方法更新媒体参数以适应不同设备类型，比如视频发送/接收的宽高、音频/视频的最大最小码率等。需要在调用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a59d130b9ceee810c6b805db53a78c9c4">call</a> 接口发起呼叫前进行设置。</p>
<dl class="section note"><dt>Note</dt><dd>如果此方法入参 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_media_config.html">MediaConfig</a> 对象的 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_media_config.html#aea68da32b7eda467e387ec5af89a6c8a">mode</a> 属性为 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_media_config.html#aaa1e9498f15d78aa9cd86bb3f5a1d8a3">MODE_INTELLINGENT_HARDWARE_SMALL</a>，则会将音频输入/输出采样率设为 8000</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mediaConfig</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_media_config.html">MediaConfig</a> 媒体参数对象，通过 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_media_config.html#a59da765526ced339bced56f413262a01">generateByMode</a> 方法创建 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7fee892082a244cfea907537fb31ad38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fee892082a244cfea907537fb31ad38">&#9670;&nbsp;</a></span>getMediaConfig()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_media_config.html">MediaConfig</a> com.juphoon.cloud.JCCall.getMediaConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获得当前的媒体参数</p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_1_1_media_config.html">MediaConfig</a> 媒体参数对象 </dd></dl>

</div>
</div>
<a id="a2616d70a6d3a8469bafc24b37960e4a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2616d70a6d3a8469bafc24b37960e4a5">&#9670;&nbsp;</a></span>sendDtmf()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract boolean com.juphoon.cloud.JCCall.sendDtmf </td>
          <td>(</td>
          <td class="paramtype">@NonNull <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a>&#160;</td>
          <td class="paramname"><em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@DtmfValue int&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">abstract</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>发送DTMF信息</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td>需要发送数据的 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html">JCCallItem</a> 对象 </td></tr>
    <tr><td class="paramname">value</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a3a3fe9aaf4921d295dc4116e9ae46e93">DTMF值</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>是否正常调用<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ae93b953784672337142b277ee5cd5bc6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae93b953784672337142b277ee5cd5bc6">&#9670;&nbsp;</a></span>DIRECTION_IN</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DIRECTION_IN = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>呼入 </p>

</div>
</div>
<a id="aabb39a8d5bcf7328b1534735f10aaea7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabb39a8d5bcf7328b1534735f10aaea7">&#9670;&nbsp;</a></span>DIRECTION_OUT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DIRECTION_OUT = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>呼出 </p>

</div>
</div>
<a id="a34ab63b196ec9ab79eefc29aadf74fa7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34ab63b196ec9ab79eefc29aadf74fa7">&#9670;&nbsp;</a></span>STATE_INIT</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.STATE_INIT = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>初始 </p>

</div>
</div>
<a id="a92336f1b8d051502d354ac57fd2cfd1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92336f1b8d051502d354ac57fd2cfd1f">&#9670;&nbsp;</a></span>STATE_PENDING</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.STATE_PENDING = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>振铃 </p>

</div>
</div>
<a id="ac4d606957af6d4b580de6ff97cb0b636"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4d606957af6d4b580de6ff97cb0b636">&#9670;&nbsp;</a></span>STATE_CONNECTING</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.STATE_CONNECTING = 2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>连接中 </p>

</div>
</div>
<a id="a399155504c9ac42d79f9b2709e856b3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a399155504c9ac42d79f9b2709e856b3e">&#9670;&nbsp;</a></span>STATE_TALKING</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.STATE_TALKING = 3</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>通话中 </p>

</div>
</div>
<a id="af3f59ff4dabbcfb137c156f941bfa6af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3f59ff4dabbcfb137c156f941bfa6af">&#9670;&nbsp;</a></span>STATE_OK</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.STATE_OK = 4</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>通话正常结束 </p>

</div>
</div>
<a id="a0d49bcbe42ccf79e50ca9e40d7709611"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d49bcbe42ccf79e50ca9e40d7709611">&#9670;&nbsp;</a></span>STATE_CANCEL</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.STATE_CANCEL = 5</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>未接通挂断 </p>

</div>
</div>
<a id="a06afe398f13a57ac4a1ba2276a22f392"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06afe398f13a57ac4a1ba2276a22f392">&#9670;&nbsp;</a></span>STATE_CANCELED</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.STATE_CANCELED = 6</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>未接通被挂断 </p>

</div>
</div>
<a id="acf80c810ab00a30f08e1f92461c7c3cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf80c810ab00a30f08e1f92461c7c3cd">&#9670;&nbsp;</a></span>STATE_MISSED</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.STATE_MISSED = 7</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>未接 </p>

</div>
</div>
<a id="a2d3e7f300b621e9b5e0e6e8f5e135698"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d3e7f300b621e9b5e0e6e8f5e135698">&#9670;&nbsp;</a></span>STATE_ERROR</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.STATE_ERROR = 8</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>异常 </p>

</div>
</div>
<a id="a09f6b06cd506a6da2f9513c2b32b4047"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09f6b06cd506a6da2f9513c2b32b4047">&#9670;&nbsp;</a></span>NET_STATUS_NA</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.NET_STATUS_NA = -100</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>未知状态 </p>

</div>
</div>
<a id="a6028a03fef38fb9e96695615186f48d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6028a03fef38fb9e96695615186f48d7">&#9670;&nbsp;</a></span>NET_STATUS_DISCONNECTED</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.NET_STATUS_DISCONNECTED = -3</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>无网络 </p>

</div>
</div>
<a id="a75e00a95c312db94b4d4c3777d5c0b1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75e00a95c312db94b4d4c3777d5c0b1e">&#9670;&nbsp;</a></span>NET_STATUS_VERY_BAD</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.NET_STATUS_VERY_BAD = -2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>很差 </p>

</div>
</div>
<a id="a610fb9c20786aa5d189df5570737479a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a610fb9c20786aa5d189df5570737479a">&#9670;&nbsp;</a></span>NET_STATUS_BAD</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.NET_STATUS_BAD = -1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>差 </p>

</div>
</div>
<a id="a124d9c2b96afec440ccd05210e828d9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a124d9c2b96afec440ccd05210e828d9c">&#9670;&nbsp;</a></span>NET_STATUS_NORMAL</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.NET_STATUS_NORMAL = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>一般 </p>

</div>
</div>
<a id="ad8f836dd2f981630cc01f2e773391c54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8f836dd2f981630cc01f2e773391c54">&#9670;&nbsp;</a></span>NET_STATUS_GOOD</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.NET_STATUS_GOOD = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>好 </p>

</div>
</div>
<a id="a3bdb81c94ea3970326695a7d353d4c3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bdb81c94ea3970326695a7d353d4c3a">&#9670;&nbsp;</a></span>NET_STATUS_VERY_GOOD</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.NET_STATUS_VERY_GOOD = 2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>很好 </p>

</div>
</div>
<a id="a3a3fe9aaf4921d295dc4116e9ae46e93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a3fe9aaf4921d295dc4116e9ae46e93">&#9670;&nbsp;</a></span>DTMF_0</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_0 = MtcCallConstants.EN_MTC_CALL_DTMF_0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF 0 </p>

</div>
</div>
<a id="a177b114d3b2de438d73777fbba26401c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a177b114d3b2de438d73777fbba26401c">&#9670;&nbsp;</a></span>DTMF_1</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_1 = MtcCallConstants.EN_MTC_CALL_DTMF_1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF 1 </p>

</div>
</div>
<a id="acd68dccc5a1780e7959d2042e48b08d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd68dccc5a1780e7959d2042e48b08d8">&#9670;&nbsp;</a></span>DTMF_2</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_2 = MtcCallConstants.EN_MTC_CALL_DTMF_2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF 2 </p>

</div>
</div>
<a id="ac44d4f5d5446d1d9a3199cb6a2373d24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac44d4f5d5446d1d9a3199cb6a2373d24">&#9670;&nbsp;</a></span>DTMF_3</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_3 = MtcCallConstants.EN_MTC_CALL_DTMF_3</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF 3 </p>

</div>
</div>
<a id="acff4cc6ac5a9195d8cfa714533d09f9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acff4cc6ac5a9195d8cfa714533d09f9c">&#9670;&nbsp;</a></span>DTMF_4</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_4 = MtcCallConstants.EN_MTC_CALL_DTMF_4</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF 4 </p>

</div>
</div>
<a id="ac20a98c75371baee68753b036ec02f22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac20a98c75371baee68753b036ec02f22">&#9670;&nbsp;</a></span>DTMF_5</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_5 = MtcCallConstants.EN_MTC_CALL_DTMF_5</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF 5 </p>

</div>
</div>
<a id="ae1d100a56cb74d21f432a1e930499fff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1d100a56cb74d21f432a1e930499fff">&#9670;&nbsp;</a></span>DTMF_6</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_6 = MtcCallConstants.EN_MTC_CALL_DTMF_6</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF 6 </p>

</div>
</div>
<a id="a9b10274f2bc605ea41faced49f5fce86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b10274f2bc605ea41faced49f5fce86">&#9670;&nbsp;</a></span>DTMF_7</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_7 = MtcCallConstants.EN_MTC_CALL_DTMF_7</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF 7 </p>

</div>
</div>
<a id="a894aa7896531673196686980c3bb7ad9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a894aa7896531673196686980c3bb7ad9">&#9670;&nbsp;</a></span>DTMF_8</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_8 = MtcCallConstants.EN_MTC_CALL_DTMF_8</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF 8 </p>

</div>
</div>
<a id="ae92f47e77b560cbe84150617e1aedba9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae92f47e77b560cbe84150617e1aedba9">&#9670;&nbsp;</a></span>DTMF_9</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_9 = MtcCallConstants.EN_MTC_CALL_DTMF_9</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF 9 </p>

</div>
</div>
<a id="a122d3e94398c99bfee39152eb019fc71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a122d3e94398c99bfee39152eb019fc71">&#9670;&nbsp;</a></span>DTMF_STAR</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_STAR = MtcCallConstants.EN_MTC_CALL_DTMF_STAR</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF * </p>

</div>
</div>
<a id="a1cc595feefbf3a3294d770968691212d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cc595feefbf3a3294d770968691212d">&#9670;&nbsp;</a></span>DTMF_POUND</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_POUND = MtcCallConstants.EN_MTC_CALL_DTMF_POUND</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF # </p>

</div>
</div>
<a id="a4593205859416b0fbf5724a6ff6877c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4593205859416b0fbf5724a6ff6877c4">&#9670;&nbsp;</a></span>DTMF_A</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_A = MtcCallConstants.EN_MTC_CALL_DTMF_A</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF A </p>

</div>
</div>
<a id="aa2e2b53cce94ba92885fa1c7c63049db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2e2b53cce94ba92885fa1c7c63049db">&#9670;&nbsp;</a></span>DTMF_B</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_B = MtcCallConstants.EN_MTC_CALL_DTMF_B</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF B </p>

</div>
</div>
<a id="a3d017a3a81a0859e2d50d7bfe32ac822"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d017a3a81a0859e2d50d7bfe32ac822">&#9670;&nbsp;</a></span>DTMF_C</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_C = MtcCallConstants.EN_MTC_CALL_DTMF_C</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF C </p>

</div>
</div>
<a id="a4e73db3da4ecddbb373d9090ba88facc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e73db3da4ecddbb373d9090ba88facc">&#9670;&nbsp;</a></span>DTMF_D</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">final int com.juphoon.cloud.JCCall.DTMF_D = MtcCallConstants.EN_MTC_CALL_DTMF_D</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>DTMF D </p>

</div>
</div>
<a id="ae9fb3eb83d4e6bd7ff563abeedf3636a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9fb3eb83d4e6bd7ff563abeedf3636a">&#9670;&nbsp;</a></span>maxCallNum</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int com.juphoon.cloud.JCCall.maxCallNum = 1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>最大通话数，默认值为1</p>
<dl class="section note"><dt>Note</dt><dd>当通话数到达最大通话数后，调用 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a59d130b9ceee810c6b805db53a78c9c4">call</a> 接口呼出会失败，收到来电会自动拒绝 </dd></dl>

</div>
</div>
<a id="a7557d96eb5925c3872ea7b3c9ea9824c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7557d96eb5925c3872ea7b3c9ea9824c">&#9670;&nbsp;</a></span>termWhenNetDisconnected</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean com.juphoon.cloud.JCCall.termWhenNetDisconnected = false</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>当音频接收网络状态为无网络时是否挂断，默认为不挂断</p>
<p>也就是 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call_item.html#a619f6b526f92710795c4fdeda9f8b5ba">getAudioNetReceiveStatus</a> 状态为 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_call.html#a6028a03fef38fb9e96695615186f48d7">NET_STATUS_DISCONNECTED</a> 时是否挂断</p>
<ul>
<li>true: 挂断</li>
<li>false: 不挂断 </li>
</ul>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>cloud/src/main/call/com/juphoon/cloud/JCCall.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
